package cn.com.lms.business.examRewrite.vo;

import cn.com.lms.business.examRewrite.persistence.entity.PaperQuestionReWrite;
import cn.com.lms.business.examRewrite.persistence.entity.PaperSubjectReWrite;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Entity;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Getter
@Setter
@Entity
@Schema(description="查看试卷")
public class PaperDetailRwWriteVO {

    @Schema(description="唯一标识")
    protected Long id;// 主键

    @Schema(description="试卷名称")
    private String paperName;

    @Schema(description="出题方式 1-选择式固定出题 2-指定题库随机出题")
    private Short type;




    @Schema(description="单选题分数")
    private Integer singleScore=0;

    @Schema(description="多选题分数")
    private Integer multipleScore=0;

    @Schema(description="判断题分数")
    private Integer judgeScore=0;

    @Schema(description="填空题分数")
    private Integer fillScore=0;

    @Schema(description="问答题分数")
    private Integer explainScore=0;

    @Schema(description="是否私密试卷 0-否  1-是")
    private Boolean isPrivate;

    @Schema(description="创建时间")
    protected Date createTime;// 创建时间

    @Schema(description="创建人名称")
    protected String creatorName;// 创建人

    @Schema(description="试卷题目合计")
    private Integer totalSubjectCount=0;

    @Schema(description="试卷总分")
    private Integer totalPaperScore=0;

    @Schema(description = "试卷单选题数量")
    private Integer paperSingleCount=0;

    @Schema(description = "试卷多选题数量")
    private Integer paperMultipleCount=0;

    @Schema(description = "试卷判断题数量")
    private Integer paperJudgeCount=0;

    @Schema(description = "试卷填空题数量")
    private Integer paperFillCount=0;

    @Schema(description = "试卷问答题数量")
    private Integer paperExplainCount=0;



    @Schema(description="试卷试题列表")
    List<Map<String,Object>> questionSubjectList;

    @Schema(description="试卷题库列表")
    List<Map> questionList;

}


